<ion-view id="makeorder-view" hide-nav-bar="true" view-title="和护健康"  id="myself">

  <ion-header-bar align-title="center" class="head">
    <img wf-src="img/yuyue/back.png" class="headleft" ng-click="back()"/>
    <h1 class="min-title">代客下单</h1>
    <!--<img wf-src="img/common/Rectangle.png" class="headright" on-tap="toEdit()" ng-if="!editing"/>-->
    <div class="buttons" style="position: absolute;right:10px;border: none">
      <button class="button " style="background: transparent;color: white;font-size: 16px" on-tap="commitEdit()" >完成</button>
    </div>
  </ion-header-bar>

  <ion-content>
    <div class="yyfw shadow-box">
      <div class="inyw">
        <label class="inleft" >服务项目</label>
        <select class="eidtRight" ng-model="commit.proName">
          <option value="0">请选择服务项目<n>
          <option ng-repeat="x in proList" value="{{x.id}}">{{x.name}}</option>
        </select>
        <hr class="inhr"/>
      </div>
      <div class="inyw">
        <label class="inleft">客户姓名</label>
        <input class="eidtRight" placeholder="请在这里输入" ng-model="commit.ctName" />
        <hr class="inhr"/>
      </div>
      <div class="inyw" ng-if="false">
        <label class="inleft">病区</label>
        <input class="eidtRight" placeholder="请在这里输入" ng-model="commit.tel" />
        <hr class="inhr"/>
      </div>
      <div class="inyw">
        <label class="inleft">床位</label>
        <input class="eidtRight" placeholder="请在这里输入" ng-model="commit.address" />
        <hr class="inhr"/>
      </div>
      <div class="inyw">
        <label class="inleft">开始时间</label>
        <label class="inright" ng-click="openDatePickerS()"> {{commit.startTime| date:'yyyy-MM-dd'}}</label>
        <hr class="inhr"/>
      </div>
      <div class="inyw">
        <label class="inleft">结束时间</label>
        <label class="inright" ng-click="openDatePickerE()"> {{commit.endTime| date:'yyyy-MM-dd'}}</label>
        <hr class="inhr"/>
      </div>
      <div class="inyw">
        <label class="inleft">折扣</label>
        <input class="eidtRight" placeholder="请在这里输入" ng-model="commit.count" />
        <hr class="inhr"/>
      </div>
      <div class="inyw">
        <label class="inleft">总金额</label>
        <input class="eidtRight" placeholder="请在这里输入" ng-model="commit.charge" />
        <hr class="inhr"/>
      </div>
      <div class="inyw"  ng-if="false">
        <label class="inleft">凭证类型</label>
        <select class="eidtRight">
          <option value ="volvo">发票</option>
          <option value ="saab">收据</option>
        </select>
        <hr class="inhr"/>
      </div>
      <div class="inyw"  ng-if="false">
        <label class="inleft">工作日</label>
        <input class="eidtRight" placeholder="请在这里输入"/>
        <hr class="inhr"/>
      </div>
      <div class="inyw"  ng-if="false">
        <label class="inleft" >服务单号</label>
        <input class="eidtRight" placeholder="请在这里输入" />
        <hr class="inhr"/>
      </div>
      <div class="inyw"  ng-if="false">
        <label class="inleft">结账人</label>
        <input class="eidtRight" placeholder="请在这里输入" />
        <hr class="inhr"/>
      </div>
      <div class="inyw"  ng-if="false">
        <label class="inleft">收费标准</label>
        <input class="eidtRight" placeholder="请在这里输入" />
        <hr class="inhr"/>
      </div>
      <div class="inyw">
        <label class="inleft">电话</label>
        <input class="eidtRight" placeholder="请在这里输入" ng-model="commit.tel" />
        <hr class="inhr"/>
      </div>
      <div class="inyw">
        <label class="inleft">班次</label>
        <select class="eidtRight" ng-model="commit.shift">
          <option value ="0">全天</option>
          <option value ="1">白班</option>
          <option value ="2">夜班</option>
        </select>
        <hr class="inhr"/>
      </div>
      <div class="inyw"   ng-if="false">
        <label class="inleft">所属公司</label>
        <select class="eidtRight">
          <option value ="volvo">复医</option>
          <option value ="saab">珅昕</option>
        </select>
        <hr class="inhr"/>
      </div>
      <div class="inyw"   ng-if="false">
        <label class="inleft">节假日</label>
        <input class="eidtRight" placeholder="请在这里输入" />
        <hr class="inhr"/>
      </div>
      <div class="inyw"   ng-if="false">
        <label class="inleft">调整金额</label>
        <input class="eidtRight" placeholder="请在这里输入"  />
        <hr class="inhr"/>
      </div>
      <div class="inyw"   ng-if="false">
        <label class="inleft">预付</label>
        <input class="eidtRight" placeholder="请在这里输入" />
        <hr class="inhr"/>
      </div>
      <div class="inyw"   ng-if="false">
          <label class="inleft">凭证号</label>
          <input class="eidtRight" placeholder="请在这里输入"  />
          <hr class="inhr"/>
      </div>
      <div class="inyw"   ng-if="false">
        <label class="inleft">签单人</label>
        <input class="eidtRight" placeholder="请在这里输入"  />
        <hr class="inhr"/>
      </div>
    </div>
    <div class="yyfw shadow-box">
      <textarea class="beizhu" placeholder="备注..." ng-model="commit.remark" rows="2"></textarea>
    </div>
  </ion-content>
</ion-view>


